/**
 * log4js 日志输出配置文件
 * @type {exports}
 */
 var log4js = require('log4js');
 
 // logger configure
 log4js.configure({
    appenders: { cheese: { type: 'file', filename: 'logs/cheese.log',pattern: ".yyyy-MM-dd.txt" } },
    categories: { default: { appenders: ['cheese'], level: 'info' } }
  });
  
 module.exports = log4js.getLogger('logger');